import axios from "../../utils/request"

export const loginReq = (data:any) => axios({
    url: '/users/login',
    method: 'post',
    data
})
//账号添加
export const usersaddReq=(data)=>axios.post('/users/add',data)

//图片上传api
export const usersuploadheaderReq=(data)=>axios.post('/users/uploadheader',data)